require(['jquery', 'cookie', 'app', "lay"], function ($) {
    require(['vue'], function (Vue) {
        var dic = new Vue({
            el: ".vue-box"
            , data: {
                where: {},
                userInfo: {}
            }
            , created: function () {
                this.userInfo = JSON.parse(localStorage.getItem("userInfo"));
                this.loadPage();
            }
            , methods: {
                loadPage: function () {
                    load();
                    var toolbar = [];
                    var tool = [];
                    bspVIEW($("#authoritiesTable"), "/v1/api/record/log/all", [
                        {type: 'radio',minWidth: 50, width: 80},
                        {type: 'numbers'},
                        {field: 'id', title: 'id', minWidth: 50, width: 120},
                        {field: 'dyOrder', title: '抖音订单号', minWidth: 50, width: 240},
                        {field: 'log', title: '日志', minWidth: 50, width: 400},
                        {field: 'modifiedTime', title: '更新时间', minWidth: 50, width: 120},
                        {field: 'createTime', title: '创建时间', minWidth: 50, width: 120},
                    ], {common: this.where}, toolbar, tool, function (res, curr, count) {

                    });
                },
                seachs: function () {
                    this.where = fromName($(".el-form"));
                    this.loadPage();
                },
                refer: function () {

                },
            }
        });
    })
});